 
//
//  BaseNavController.m
//  StoneMason
//
//  Created by iOS1 on 16/12/5.
//  Copyright © 2016年 iOS1. All rights reserved.
//

#import "BaseNavController.h"

@interface BaseNavController ()

@end

@implementation BaseNavController

//+(void)load{
//    // 获取当前类下的导航条
//        UINavigationBar *navBar = [UINavigationBar appearanceWhenContainedIn:self, nil];
//    
//    // 设置导航条背景图片
//        [navBar setBackgroundImage:[UIImage imageNamed:@"bg_tab"] forBarMetrics:UIBarMetricsDefault];
//}

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    [self.navigationBar setBackgroundImage:[UIImage imageWithColor:COLOR_THEME_Green size:CGSizeMake(ScreenWidth, 64)] forBarMetrics:UIBarMetricsDefault];
    [self.navigationBar setTitleTextAttributes:@{NSForegroundColorAttributeName:[UIColor whiteColor],NSFontAttributeName:FONT(18)}];
    
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
